From: Henrik Enberg Date: Sat, 21 Jan 2006 16:18:59 +0000 (+0000) Subject: (rmail-process-new-messages): Don't lose on missing subject field. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~8790^2~85 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=a789dfb4a14a9d83df7833857f53d58ed1fca31a;p=emacs.git (rmail-process-new-messages): Don't lose on missing subject field. --- diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index c2928fdde3c..bb6e7c72283 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el @@ -1987,7 +1987,8 @@ non-nil then do not show any progress messages." (cadr (mail-extract-address-components (rmail-header-get-header "from"))) (mail-decode-encoded-word-string - (rmail-header-get-header "subject")))) + (or (rmail-header-get-header "subject") + "No Subject Given")))) message-descriptor-list))))) ;; Add the new message data lists to the Rmail message descriptor ;; vector.